{% extends "base_generic.html" %}
{% block content %}
        <h1><a href="/sellos">Citas</a></h1>
        <h2><a href="/admin/sellos//new/" class="add">Añadir sello</a></h2>

        <table class="imgswithoutborders">
        {% for sello in sellos %}
          <tr>
            <td>{{ sello.selloId }}</td>
            <td>{{ sello.country }}</td>
            <td>{{ sello.year }}</td>
            <td><img src="/sello/{{ sello.slug }}/img" width="40" height="40" /></td>
            <td><a href="/sello/{{ sello.selloId }}">Public</a></td>
            <td><a href="/admin/sellos/{{ sello.key }}/edit/">Editar</a></td>
            <td><a href="/admin/sellos/{{ sello.key }}/delete/" onclick="if(confirm('¿Do you really want to delete {{ sello.name }}?')){return true;}else{return false;}">Borrar</a></td>
          </tr>
        {% endfor %}
        </table>

{% endblock %}
